package com.gold.mapper;

import java.util.List;
import java.util.Map;

import com.gold.entity.Card;

public interface CardMapper {

	public List<Card> selectAllCard();

	public List<Card> selectAllCardByPage(Map<String, String> map);

	public List<Card> selectCardByLike(Map<String, String> map);
	
	public Card selectCardByCardNumber(String cardNumber);
	
	public Card selectCardByCardId(int cardId);

	public void updateCardStatusStartJob();

	public void updateCardStatusEndJob();
	
	public void updateCardStatusBetweenJob();
	
	public void updateCardStatusByCardId(int cardId);
	
	public void insertCard(Card card);
	

}
